<?php
class Forms extends Controller {
	function Forms() {
		parent::Controller();
	}
	
	function index() {
		$this->load->library('form_generation');
		$this->load->file(APPPATH."forms/form_test" . EXT);

		if (!$this->validation->run()) {
			echo $this->validation->error_string;
		} else {
			// do stuff
		}
		
		$this->load->view('form_test');
	}
}
?>